package com.gxa.modules.sys.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@TableName("code")
public class CdkeyAddDto {
    private Integer id;

    private Integer number;

    private String code;

    private String platform;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField("start_time")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField("end_time")
    private Date endTime;

    private Integer state;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField("create_time")
    private Date createTime;

    @TableField("t_name")
    private String tName;

    @TableField("area_id")
    private Integer areaId;

    private Integer userId;



}
